package com.pea.fow.dao;

import com.pea.fow.model.Borrow;

public interface BorrowMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Borrow record);

    int insertSelective(Borrow record);

    Borrow selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Borrow record);

    int updateByPrimaryKey(Borrow record);

	/**
	 * @param borrowNid
	 * @return
	 */
	Borrow selectByBorrowNid(String borrowNid);
}